#include "Rectangle.h"

CRectangle::CRectangle(void):left(0),right(0),top(0),bottom(0)
{}

CRectangle::CRectangle(int left, int right, int top, int bottom):left(left),right(right),top(top),bottom(bottom)
{}

//settor
void CRectangle::setLeft(int left)
{
	this->left=left;
}
void CRectangle::setRight(int right)
{
	this->right=right;
}
void CRectangle::setTop(int top)
{
	this->top=top;
}
void CRectangle::setBottom(int bottom)
{
	this->bottom=bottom;
}
//gettor
int CRectangle::getLeft(void)const
{
	return this->left;
}
int CRectangle::getRight(void)const
{
	return this->right;
}
int CRectangle::getTop(void)const
{
	return this->top;
}
int CRectangle::getBottom(void)const
{
	return this->bottom;
}
